import logging
logging.basicConfig(
    filename="tryLog.log",
    level = logging.INFO,
    format ='%(asctime)s [%(filename)s:%(lineno)d] : %(message)s'

)

logger = logging.getLogger(__name__)
logger.info("hahahhahahah")

s = r"sublime Text3 \uff08\u81ea\u7528\uff09\u4e2d\u6587\u7eff\u8272\u7834\u89e3\u7248+\u5e38\u7528\u63d2\u4ef6"
logger.info(s)
# print(s.)